package org.example.ui.controller;

import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.example.domain.model.config.UrlShortenerPathNotFoundConfig;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@Tag(name = "短链接不存在跳转控制器" ,description = "短链接不存在跳转控制器")
public class UrlShortenerNotfoundController {

    @RequestMapping(UrlShortenerPathNotFoundConfig.PAGE_NOT_FOUND)
    @Operation(summary = "短链接不存在跳转页面")
    public String notfound() {
        return "跳转页面不存在！";
    }
}
